projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e46224
)
Fix UDI_QUEUE_EMPTY in case someone wants to use it...
author
robertl
<robertl>
Mon, 25 Aug 2003 21:17:06 +0000
(21:17 +0000)
committer
robertl
<robertl>
Mon, 25 Aug 2003 21:17:06 +0000
(21:17 +0000)
queue.h
patch
|
blob
|
history
diff --git
a/queue.h
b/queue.h
index b6b46bceb05063530e4e680a76e66271c951085c..d7bfffd179c3f9974c0bd20945178f7c39fda4b1 100644
(file)
--- a/
queue.h
+++ b/
queue.h
@@
-31,7
+31,7
@@
queue * dequeue(queue *element);
#define QUEUE_FIRST(head) (head)->next
#define QUEUE_NEXT(element) (element)->next
#define QUEUE_LAST(head) (head)->prev
-#define QUEUE_EMPTY (head)->next = head
+#define QUEUE_EMPTY (head)->next =
=
head
#define ENQUEUE_TAIL(listhead, element) \
enqueue(element, (listhead)->prev)